package com.scorpio.order.vo;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

public class SubmitShopCartOrderVo {

    public Long uid;

    @Size(min = 1, message = "无效提交")
    @NotNull(message = "无效提交")
    private Long[] ids;

    //选择配送地址
    @NotNull(message = "无效地址")
    private Long addressId;

    private Long invoiceId;

    private String remark;

    public Long getInvoiceId() {
        return invoiceId;
    }

    public void setInvoiceId(Long invoiceId) {
        this.invoiceId = invoiceId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long[] getIds() {
        return ids;
    }

    public void setIds(Long[] ids) {
        this.ids = ids;
    }

    public Long getAddressId() {
        return addressId;
    }

    public void setAddressId(Long addressId) {
        this.addressId = addressId;
    }
}
